package com.cluck.pay.dao;

import com.cluck.pay.entity.PayInfo;

/**
 * 支付信息dao
 * @author cluck
 * @version 1.0
 * @date 2020/5/9 17:57
 */
public interface PayInfoMapper {

    /**
     * 动态添加
     * @param payInfo
     */
    void insertSelective(PayInfo payInfo);

    /**
     * 根据订单号查询订单
     * @param orderNo
     * @return
     */
    PayInfo selectByOrderNo(Long orderNo);

    /**
     * 动态修改数据
     * @param payInfo
     */
    void updateByPrimaryKeySelective(PayInfo payInfo);
}
